package com.gtq.uhome.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gtq.uhome.pojo.Delivery;
import com.gtq.uhome.pojo.OrderDetails;
import com.gtq.uhome.pojo.OrderSupRelation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
@ApiModel(value = "派送详情")
public class DeliveryDetailsVo {

    @ApiModelProperty(value = "一级类名")
    private String oneName;

    @ApiModelProperty(value = "二级类名")
    private String  twoName;

    @ApiModelProperty(value = "三级类名")
    private String  threeName;

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "商品派送表")
    private List<Delivery> delivery;

    @ApiModelProperty(value = "物流订单关联表")
    private List<OrderSupRelation> orderSupRelation;

    @ApiModelProperty(value = "订单详情表")
    private List<OrderDetails> orderDetails;

    @ApiModelProperty(value = "时效产品")
    private String agingCode;

    @ApiModelProperty(value = "审核状态")
    private String checkStatus;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "收货人姓名")
    private String consigneeName;

    @ApiModelProperty(value = "收货人电话")
    private String consigneePhoneNumber;

    @ApiModelProperty(value = "收货人地址")
    private String consigneeAddress;

    @ApiModelProperty(value = "街道名称")
    private String street;

    @ApiModelProperty(value = "型号")
    private String supModel;

    @ApiModelProperty(value = "类别")
    private String supName;

    @ApiModelProperty(value = "审核情况描述")
    private String auditSituation;

    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    @ApiModelProperty(value = "站点地址")
    private String standbyPhoneNumber;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "审核时间")
    private Timestamp checkTime;

    @ApiModelProperty(value = "物料Id")
    private Integer supId;

    @ApiModelProperty(value = "三级商品Id")
    private Integer categoryId;

    private Integer consigneeId;

    private Integer userId;



}
